/**
 * 
 */
package org.vsg.stock.basic.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

/**
 * @author Bill vison
 *
 */
@Entity
@Table(name = "STOCK_PERFORMANCE")
@Proxy(lazy = true)
public class StockPerformance implements Serializable {
	
	@Id @Column(name="ID") @GeneratedValue(strategy=GenerationType.IDENTITY)
	private int id;

	@Column(name="STOCK_CODE")	
	private String stockCode;
	
	@Column(name="PUBLISH_DATE")		
	private Date publishDate;

	@Column(name="A_INCOME",nullable = true)	
	private Double aIncome;
	
	@Column(name="NET_ASSET", nullable = true)	
	private Double netAsset;

	@Column(name="A_RESERVE_FUND" , nullable = true)	
	private Double aReserveFund;
	
	@Column(name="UNDISTRIBUTED_PROFIT" , nullable = true)	
	private Double undistributedProfit;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public Double getaIncome() {
		return aIncome;
	}

	public void setaIncome(Double aIncome) {
		this.aIncome = aIncome;
	}

	public Double getNetAsset() {
		return netAsset;
	}

	public void setNetAsset(Double netAsset) {
		this.netAsset = netAsset;
	}

	public Double getaReserveFund() {

		return aReserveFund;
	}

	public void setaReserveFund(Double aReserveFund) {
		this.aReserveFund = aReserveFund;
	}

	public Double getUndistributedProfit() {
		return undistributedProfit;
	}

	public void setUndistributedProfit(Double undistributedProfit) {
		this.undistributedProfit = undistributedProfit;
	}
	
	

}
